package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author laozhang
 * @date 2021/9/25 16:56
 */
@Data
@Accessors(chain = true)
@TableName(value = "t_role_menu")
public class TRoleMenu  implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     *角色id
     */
    @TableField(value = "role_id")
    private Integer roleId;
    /**
     *菜单id
     */
    @TableField(value = "menu_id")
    private Integer menuId;
}
